home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / insertaframe.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-07-01  |  1.4 KB  |  63 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. //
  8. //
  9. // Author: Craig Bradney <cbradney@zip.com.au>, (C) 2006
  10. //
  11. // Copyright: See COPYING file that comes with this distribution
  12. //
  13. //
  14.  
  15.  
  16. #ifndef INSERTAFRAME_H
  17. #define INSERTAFRAME_H
  18.  
  19. #include "gtgettext.h"
  20. #include "ui_insertaframe.h"
  21. #include "scribusapi.h"
  22.  
  23. #include <QButtonGroup>
  24. #include <QMap>
  25. #include <QString>
  26.  
  27.  
  28. class PageItem;
  29. class ScribusDoc;
  30. struct InsertAFrameData;
  31.  
  32. class SCRIBUS_API InsertAFrame : public QDialog, Ui::InsertAFrame
  33. {
  34.     Q_OBJECT
  35.  
  36. public:
  37.     InsertAFrame(QWidget* parent, ScribusDoc *doc);
  38.     ~InsertAFrame(){};
  39.     
  40.     void getNewFrameProperties(InsertAFrameData &iafData);
  41. protected:
  42.     ScribusDoc* m_Doc;
  43.     ImportSetup m_ImportSetup;
  44.     QButtonGroup *typeButtonGroup;
  45.     QButtonGroup *pagePlacementButtonGroup;
  46.     QButtonGroup *framePositionButtonGroup;
  47.     QButtonGroup *sizeButtonGroup;
  48.     QMap<PageItem*, QString> pageItemMap;
  49.     
  50. protected slots:
  51.     void slotSelectType(int id);
  52.     void slotSelectPagePlacement(int id);
  53.     void slotCreatePageNumberRange();
  54.     void slotSelectPosition(int id);
  55.     void slotSelectSize(int id);
  56.     void slotLinkToExistingFrame(int state);
  57.     void locateImageFile();
  58.     void locateDocFile();
  59. };
  60.  
  61. #endif
  62.  
  63.